home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / math / gle-3.000 / gle-3 / gle / core.h < prev    next >
C/C++ Source or Header  |  1995-02-07  |  652b  |  37 lines

  1. #include "rgb.h"
  2.  
  3.     struct gmodel {
  4.         double image[3][3];
  5.         double fontn,fontsz;    /* up to here for font cacheing*/
  6.         colortyp color,fill;
  7.         double lwidth,lstyled,curx,cury;
  8.         double endx,endy;
  9.         double miterlimit;
  10.         int lcap,ljoin;
  11.         int just,xinline,inpath,npath; /* up to here for STATE */
  12.         char lstyle [9];
  13.     /* 18*8, 6*int, 2*int32 */
  14.  
  15.         double xmin,xmax,ymin,ymax;    /* bounds in USER coordinates */
  16.         double startx,starty;
  17.         double closex,closey;    /* for closepath */
  18.         double userwidth,userheight; /* The user req size */
  19.         double devwidth,devheight;
  20.     } ;
  21.  
  22. #define SIZEOFSTATE (18*sizeof(double) + 6*sizeof(int) + 2*sizeof(int32) + 9)
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.